package org.jeecg.modules.wmhb.service;

import org.jeecg.modules.wmhb.entity.WmTaskBom;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wmhb.dto.req.HjdBomReqDto;
import org.jeecg.modules.wmhb.dto.res.HjdBomResDto;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 任务BOM
 * @Author: jeecg-boot
 * @Date:   2025-09-30
 * @Version: V1.0
 */
public interface IWmTaskBomService extends IService<WmTaskBom> {
    /**
     * 上传库存核减单
     */
    HjdBomResDto uploadHjdBom(List<HjdBomReqDto> hjdBomReqDtoList);

    /**
     * 根据计划获取报料数据
     * @param taskIdList
     * @return
     */
    List<WmTaskBom> applyBomList(List<String> taskIdList);

    /**
     * 导出报料单
     * @param request
     * @param list
     * @return
     */
    public ModelAndView exportBomExcel(HttpServletRequest request, List<WmTaskBom> list);


}
